package com.ruoyi.bzjgl.service.impl;

import com.ruoyi.bzjgl.domain.Bzjtable;
import com.ruoyi.bzjgl.mapper.FlowMapper;
import com.ruoyi.bzjgl.service.IFlowService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class FlowServiceImpl implements IFlowService {
    @Resource
    private FlowMapper flowMapper;

    @Override
    public List<Bzjtable> selectListByXh(String ajxh,String lb) {
        if("0".equals(lb)){
            lb = "退还";
        }else if("1".equals(lb)){
            lb = "没收";
        }
        return flowMapper.selectListByXh(ajxh,lb);
    }
}
